import 'package:cook_dinner/config/include.dart';
import 'package:flutter/material.dart';

class LoginView {
  // 登录文字
  static Widget loginTitle() {
    return Padding(
      padding: EdgeInsets.only(left: 56.rpx, top: 107.rpx, bottom: 69.rpx),
      child: Text(
        '''
Hello!
欢迎来到做饭吧''',
        style: TextStyle(fontSize: 24.rpx, color: Colors.black),
      ),
    );
  }

  //
  static Widget loginBox({Widget? child}) {
    return Padding(
      padding: EdgeInsets.symmetric(horizontal: 18.rpx),
      child: child ?? const SizedBox.shrink(),
    );
  }
}
